<!DOCTYPE html>
<html>
	<head>
		<!--
        	作者：刘开新
        	时间：2018-09-25
        	描述：
        -->
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css"  href="../../../base/plugins/layui/css/layui.css" media="all"/>
	</head>
	
	
	
	<body>
		
		<fieldset class="layui-elem-field layui-field-title" style="margin-right: 220px;">
      			<legend><h2>新增角色信息</h2></legend>
    	</fieldset>
			<form class="layui-form" action="">
			  <div class="layui-form-item">
			    <label class="layui-form-label">*角色名称</label>
			    <div class="layui-input-block">
			      <input type="text" name="title" required  lay-verify="required" placeholder="请输入角色名称" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  
			  <div class="layui-form-item layui-form-text">
			    <label class="layui-form-label">角色描述</label>
			    <div class="layui-input-block">
			      <textarea name="desc" placeholder="请输入角色描述内容" class="layui-textarea"></textarea>
			    </div>
			  </div>

			 
			 
			  <div class="layui-form-item">
			    <label class="layui-form-label">  </label>
			    <div class="layui-input-block">
			      <input type="checkbox" name="like[write]" title="eee">
			      <input type="checkbox" name="like[read]" title="角色管理" >
			      <input type="checkbox" name="like[dai]" title="张三" >
			      <input type="checkbox" name="like[write]" title="eee">
			      <input type="checkbox" name="like[read]" title="只读" >
			      <input type="checkbox" name="like[dai]" title="张三" >
			      <input type="checkbox" name="like[write]" title="eee">
			      <input type="checkbox" name="like[read]" title="用户" >
			      <input type="checkbox" name="like[dai]" title="超级管理员" >
			    </div>
			  </div>
			  

			  <div class="layui-form-item">
			    <div class="layui-input-block">
			      <button class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
			      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
			      <button type="reset" class="layui-btn layui-btn-danger">关闭</button>
			    </div>
			  </div>
			</form>
		
		<script src="../../../base/js/jquery-1.11.3.min.js"> </script>
		<script src="../../../base/plugins/layui/layui.js"></script>
		<script type="text/javascript">
			layui.use(['element','form'], function() {
				var element = layui.element;
				var form = layui.form;
		       form.render();
			});
		</script>
	</body>
</html>
